<template>
  <div class="simpleInf-box">
    <Head :title= "Title"></Head>
    <div class="head-IFM">
      <span></span>
      <p>开立账户</p>
    </div>

    <Progress :Protitle="Protitle" :stepForm=2></Progress>
    <div class="simpleInf-form">
      <div class="withdraw-bankInfo">
        <p>
          <label>英文姓名</label>
          <input type="text" placeholder="" v-model="EnglishName" disabled="disabled">
        </p>
        <p>
          <label>中文姓名</label>
          <input type="text" v-model="chineseName" placeholder="">
        </p>
        <p>
          <label>国家</label>
          <input type="text" v-model="country" placeholder="">
        </p>
        <p>
          <label>地址</label>
          <input type="text" v-model="address" placeholder="">
        </p>
        <p>
          <label>邮编</label>
          <input type="text" v-model="zipcode" placeholder="">
        </p>
        <p>
          <label>证件类型</label>
          <input type="text" placeholder="居民身份证" disabled="disabled">
        </p>
        <p>
          <label>证件号码</label>
          <input type="text" v-model="IDNumber" placeholder="">
        </p>
        <p class="Sel">
          <label>收入来源</label>
          <select v-model="sincome">
            <option value="1">工资收入</option>
            <option value="2">务农收入</option>
            <option value="3">其他收入</option>
          </select>
          <i></i>
        </p>
        <p class="Sel">
          <label>职      业</label>
          <select v-model="soccupation">
            <option value=" ">请选择一项</option>
            <option value="2">教师</option>
            <option value="3">白领</option>
          </select>
          <i></i>
        </p>
        <p class="Sel resident">
          <label>是否为美国公民或美国税收居民</label>
          <select v-model="iamerica">
            <option value=" ">请选择一项</option>
            <option value="2">是</option>
            <option value="3">否</option>
          </select>
          <i></i>
        </p>
        <p class="Sel income">
          <label>您的税前年收入大约是</label>
          <select v-model="sretaxrevenue">
            <option value=" ">请选择一项</option>
            <option value="2">50k</option>
            <option value="3">30K</option>
          </select>
          <i></i>
        </p>
      </div>
      <div class="withdraw-btn-box">
        <div class="withdraw-btn" @click="nextPage">下一步</div>
      </div>
    </div>
  </div>
</template>

<script>
  import { Ajax } from "@/mixins";
  import Head from '../../components/header/head.vue'
  import Progress from '../../components/pogressBar/progressBar.vue'

  export default {
    /*naem: "rewardPop",
     mixins: [Ajax],*/
    components: {
      Head,
      Progress
    },
    props: {
      // 必填，是否显示弹框

    },
    data() {
      return {
        Title: '开设真实账户',
        Protitle: '3 填写详细信息',
        EnglishName: `${this.$route.query.firstName}${this.$route.query.lastName}`,
        chineseName: '',
        country: '',
        address: '',
        zipcode: '',        //邮编
        IDNumber: '',       //证件号码
        sincome: '',        //收入来源
        soccupation: '',     //职业
        iamerica: '',       //是否为美国居民
        sretaxrevenue: ''     //年收入
      };
    },
    watch: {

    },
    methods: {
      nextPage: function () {
        this.$router.push({
          path: '/uploadIdCard',
          query: {native: 0, /*token: _this.getToken()*/}
        })
      }
    }
  };
</script>

<style scoped>
  .simpleInf-box{
    background: #eee;
  }
  .head-IFM{
    height: 1.79rem;
    padding: 0.64rem 0.56rem 0 0.56rem;
    background: #8e79c0;
    display: flex;
  }
  .head-IFM span{
    display: block;
    width: 1.71rem;
    height: 0.85rem;
    background: url("../../assets/images/right-logo-economic.png") no-repeat center/100% 100%;
  }
  .head-IFM p{
    margin: 0.26rem 0 0 0.3rem;
    font-size: 0.48rem;
    color: #fff;
  }

  .simpleInf-form{
    margin: 0.3rem auto 0 auto;
    padding-bottom: 2.8rem;
    height: 100%;
    background: #fff;
  }

  .withdraw-bankInfo{
    padding:.6rem .54rem 0;
  }
  .withdraw-bankInfo p{
    position: relative;
    height: .9rem;
    line-height: .9rem;
    margin-bottom:.4rem;
  }
  .withdraw-bankInfo label{
    vertical-align: middle;
    font-size:.45rem;
    color: #666;
    min-width:1.9rem;
    display: inline-block;
    text-align: left;
  }
  .withdraw-bankInfo input,.withdraw-bankInfo select{
    display: inline-block;
    width:8.84rem;
    height:.9rem;
    line-height: .9rem;
    font-size:.45rem;
    vertical-align: middle;
    padding:0 .6rem;
    border-bottom:.03rem solid #ede9f5;
    box-sizing: border-box;
  }
  .withdraw-bankInfo input:focus {
    border-color: #8e79c0;
  }
  .withdraw-remark > label{
    vertical-align: top;
  }
  .withdraw-bankInfo textarea{
    width: 8.86rem;
    height: 2.07rem;
    border-radius: .12rem;
    border: solid 0.03rem #d2c9e6;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding:.23rem .6rem;
    font-size:.45rem;
  }

  .withdraw-btn-box{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
  }
  .withdraw-btn{
    width: auto;
    height: 1.32rem;
    line-height: 1.32rem;
    background-color: #8e79c0;
    border-radius: .12rem;
    margin:0 .24rem .6rem .24rem;
    color: #fff;
    font-size:.54rem;
    text-align: center;
  }
 /* .codeIcon{
    position: absolute;
    bottom: -0.1rem;
    right: 0.32rem;
    display: block;
    width: 0.9rem;
    height: 0.9rem;
    background: url("../../assets/images/code-show.png") no-repeat center/75% 50%;
  }
  .codeIsShow{
    background: url("../../assets/images/code-no-show.png") no-repeat center/75% 50%;
  }
*/
  .Sel{
    position: relative;
  }
  .Sel i{
    position: absolute;
    right: 0.14rem;
    bottom: -0.18rem;
    display: block;
    width: 0.9rem;
    height: 0.9rem;
    background: url("../../assets/images/icon-down.png") no-repeat center/50% 27%;
  }
  .resident select{
    width: 4.48rem !important;
  }
  .income select{
    width: 6.29rem !important;
  }


</style>
